#pragma once
#include "../SGD Wrappers/SGD_Message.h"

#include "Player.h"

class CreateBulletMessage : public SGD::Message
{
public:
	CreateBulletMessage(MovingObject * E, float rotate, bool useFacing = true);
	~CreateBulletMessage();
	MovingObject* GetOwner() const { return Owner; }
	float GetRotation() const { return rotation; }
	bool GetUseFacing() const { return useFacing; }
private:
	MovingObject * Owner = nullptr;
	float rotation = 0.0f;
	bool useFacing = true;
};

